import { Module } from "@nestjs/common";
import { TypeOrmModule } from "@nestjs/typeorm";
import { SysPermission } from "@/database/entity/SysPermission";
import { PermController } from "./perm.controller";
import { PermService } from "./perm.service";

@Module({
    imports: [TypeOrmModule.forFeature([SysPermission])],
    controllers: [PermController],
    providers: [PermService],
    exports: [PermService],
})
export class PermModule {}
